
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<html>
	<head>
		<title>学习javascript精粹</title>
		
		<script type="text/javascript" src="jsDemo.js"></script>
		
		
		<script type="text/javascript">
			
			// all this test ok
			/*
			var a = '  efwf '.trim();
			alert("#" + a + '#');
			
			alert((-10/3).integer() );
			
			alert(fibo(5));
			*/
			var d = new Date();
			alert(d.diffNDay(1));
			alert(d.diffNMonth(1));
			
		</script>
	</head>
	<body>
		<div>
		
		</div>
	</body>
	
</html>